Skip to content

Invert mute logic in alc/compressor.cpp - #1301

Merged
kcat merged 2 commits into
kcat:masterfrom
vq17:Fix-compressor-logic
Jul 2, 2026
Merged

Invert mute logic in alc/compressor.cpp#1301
kcat merged 2 commits into
kcat:masterfrom
vq17:Fix-compressor-logic

Conversation

@vq17

@vq17 vq17 commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

Invert logic mistakenly left as is when control flow was inverted in 078b50e
It used to be "if(!cond) continue;" but was changed to "if(!cond){...}".
This change is simply to "if(cond){...}".

Tested that this enables the compressor to produce any output (above the GainSilenceThreshold I guess).

vq17 added 2 commits July 1, 2026 17:51
Invert logic mistakenly left as is when control flow was inverted in 078b50e
Remove extra parens
@kcat
kcat merged commit 9335813 into kcat:master Jul 2, 2026
14 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants